<body>
	<div class="subnav">
		<div class="content-menu ib-a blue line-x">
			<a href='javascript:;' class="on"><em>分列列表</em></a><span>|</span><a
				href='/Notice/addCate/'><em>添加分类</em></a>
		</div>
	</div>
	<div class="pad_10">
		<div class="table-list">
			<table width="100%" cellspacing="0">
				<thead>
					<tr>
						<th width="10%">序号</th>
						<th align="left">分类名称</th>
						<th width="15%">管理操作</th>
					</tr>
				</thead>
				<tbody>
					<?php
						if(!empty($list)){
						  foreach ($list as $val) { 
						?>
					<tr>
						<td width="10%" align="center">
							<?php echo $val['NoticeCate']['id'] ?>
						</td>
						<td>
							<?php echo $val['NoticeCate']['name'] ?>
						</td>
						<td width="15%" align="center"><a href="javascript:;"
							onclick="cate_edit(<?php echo $val['NoticeCate']['id'] ?>)">修改</a>
							| <a href="javascript:;"
							onclick="cate_delete(<?php echo $val['NoticeCate']['id'] ?>)">删除</a>
						</td>
					</tr>
					<?php } } ?>
				</tbody>
			</table>
			<div id="pages">
				<?php echo $this->Page->show($perpage, $total, $curpage, 10, '/Notice/cate/page/', 2); ?>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">	$(document).ready(function() {
		window.top.$('#display_center_id').css('display', 'none');
	});
</script>